﻿///----------------------------------------------------------------
/// Copyright (C) 2013-2014 正中科技
/// 版权所有。
///
/// 文件名：TB_TEAM_FILEInfo.cs
/// 文件功能描述：TB_TEAM_FILE实体类
///
///
/// 创建标识：曹彬 2014/3/18
///
/// 修改标识：
/// 修改描述：
///---------------------------------------------------------------
using System;
using System.Xml;
using System.Xml.Serialization;

namespace XMK.Tadong.Model
{
    /// <summary>
    /// TB_TEAM_FILE的实体类
    /// </summary>
    [Serializable]
    public class TB_TEAM_FILEInfo
    {

        #region 构造函数

        public TB_TEAM_FILEInfo()
        { }

        #endregion 构造函数

        #region 常量属性

        public const string TB_TEAM_FILE_TABLE = "TB_TEAM_FILE";
        public const string FILE_ID_FIELD = "FILE_ID";
        public const string TEAM_ID_FIELD = "TEAM_ID";
        public const string FILE_NAME_FIELD = "FILE_NAME";
        public const string FILE_EXT_FIELD = "FILE_EXT";
        public const string FILE_ABST_FIELD = "FILE_ABST";
        public const string FILE_AUTHOR_FIELD = "FILE_AUTHOR";
        public const string KEYW_FIELD = "KEYW";
        public const string FILE_CRT_TIME_FIELD = "FILE_CRT_TIME";
        public const string FILE_VERSION_FIELD = "FILE_VERSION";
        public const string DEST_OBJ_FIELD = "DEST_OBJ";
        public const string BIZ_OBJ_FIELD = "BIZ_OBJ";

        public const string TARGET_OBJ_NAME_FIELD = "TARGET_OBJ_NAME_";
        public const string BUS_OBJ_NAME_FIELD = "BUS_OBJ_NAME";

        public const string SECRET_LVL_FIELD = "SECRET_LVL";
        public const string LANG_TYPE_FIELD = "LANG_TYPE";
        public const string FILE_TYPE_FIELD = "FILE_TYPE";
        public const string SAVE_PATH_FIELD = "SAVE_PATH";
        public const string USER_ID_FIELD = "USER_ID";
        public const string STATUS_FIELD = "STATUS";
        public const string CREATE_TIME_FIELD = "CREATE_TIME";
        public const string UPD_TIME_FIELD = "UPD_TIME";
        public const string SINGLERECEIPT_FIELD = "SINGLERECEIPT";
        public const string IS_DEL_FIELD = "IS_DEL";

        #endregion 常量属性

        #region 私有变量

        private int _file_id;
        private int _team_id = int.MinValue;
        private string _file_name;
        private string _file_ext;
        private string _file_abst;
        private string _file_author;
        private string _keyw;
        private DateTime _file_crt_time = DateTime.Now;
        private decimal _file_version;
        private string _dest_obj;
        private string _biz_obj;

        private string _target_obj_name;
        private string _bus_obj_name;
        private string _secret_lvl;
        private decimal _lang_type;
        private string _file_type;
        private string _file_size;
        private decimal _down_amount;
        private string _save_path;
        private string _user_id;
        private int _status = int.MinValue;
        private DateTime _create_time = DateTime.Now;
        private DateTime _upd_time = DateTime.Now;
        private string _singlereceipt;
        private string _pdf_path;
        private string _swf_path;
        private string _folder_id;
        private decimal _is_del;
        private string _shared_scope_id;

        
        #endregion 私有变量

        #region 属性


        /// <summary>
        /// 是否删除，0未删除，1已删除
        /// </summary>
        public decimal IS_DEL
        {
            get { return _is_del; }
            set { _is_del = value; }
        }

        /// <summary>
        ///文件夹ID
        /// </summary>
        public string FOLDER_ID
        {
            get { return _folder_id; }
            set { _folder_id = value; }
        }

        /// <summary>
        /// PDF路径
        /// </summary>
        [XmlAttribute(AttributeName = "PDF_PATH")]
        public string PDF_PATH
        {
            set { _pdf_path = value; }
            get { return _pdf_path; }
        }

        /// <summary>
        /// SWF路径
        /// </summary>
        [XmlAttribute(AttributeName = "SWF_PATH")]
        public string SWF_PATH
        {
            set { _swf_path = value; }
            get { return _swf_path; }
        }

        /// <summary>
        /// 文件编号
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_ID")]
        public int FILE_ID
        {
            set { _file_id = value; }
            get { return _file_id; }
        }

        /// <summary>
        /// 课题组编号
        /// </summary>
        [XmlAttribute(AttributeName = "TEAM_ID")]
        public int TEAM_ID
        {
            set { _team_id = value; }
            get { return _team_id; }
        }

        /// <summary>
        /// 文件名称
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_NAME")]
        public string FILE_NAME
        {
            set { _file_name = value; }
            get { return _file_name; }
        }

        /// <summary>
        /// 文档格式
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_EXT")]
        public string FILE_EXT
        {
            set { _file_ext = value; }
            get { return _file_ext; }
        }

        /// <summary>
        /// 摘要信息
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_ABST")]
        public string FILE_ABST
        {
            set { _file_abst = value; }
            get { return _file_abst; }
        }

        /// <summary>
        /// 作者
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_AUTHOR")]
        public string FILE_AUTHOR
        {
            set { _file_author = value; }
            get { return _file_author; }
        }

        /// <summary>
        /// 关键词
        /// </summary>
        [XmlAttribute(AttributeName = "KEYW")]
        public string KEYW
        {
            set { _keyw = value; }
            get { return _keyw; }
        }

        /// <summary>
        /// 编写日期
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_CRT_TIME")]
        public DateTime FILE_CRT_TIME
        {
            set { _file_crt_time = value; }
            get { return _file_crt_time; }
        }

        /// <summary>
        /// 版本
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_VERSION")]
        public decimal FILE_VERSION
        {
            set { _file_version = value; }
            get { return _file_version; }
        }
        /// <summary>
        /// 文件大小
        /// </summary>
        public string FILE_SIZE
        {
            get { return _file_size; }
            set { _file_size = value; }
        }
        /// <summary>
        /// 下载次数
        /// </summary>
        public decimal DOWN_AMOUNT
        {
            get { return _down_amount; }
            set { _down_amount = value; }
        }

        /// <summary>
        /// 目标
        /// </summary>
        [XmlAttribute(AttributeName = "DEST_OBJ")]
        public string DEST_OBJ
        {
            set { _dest_obj = value; }
            get { return _dest_obj; }
        }

        /// <summary>
        /// 业务对象
        /// </summary>
        [XmlAttribute(AttributeName = "BIZ_OBJ")]
        public string BIZ_OBJ
        {
            set { _biz_obj = value; }
            get { return _biz_obj; }
        }

        /// <summary>
        /// 目标名称
        /// </summary>
        public string Target_obj_name
        {
            get { return _target_obj_name; }
            set { _target_obj_name = value; }
        }
        /// <summary>
        /// 业务对象名称
        /// </summary>
        public string Bus_obj_name
        {
            get { return _bus_obj_name; }
            set { _bus_obj_name = value; }
        }

        /// <summary>
        /// 保密级别
        /// </summary>
        [XmlAttribute(AttributeName = "SECRET_LVL")]
        public string SECRET_LVL
        {
            set { _secret_lvl = value; }
            get { return _secret_lvl; }
        }

        /// <summary>
        /// 文字语种
        /// </summary>
        [XmlAttribute(AttributeName = "LANG_TYPE")]
        public decimal LANG_TYPE
        {
            set { _lang_type = value; }
            get { return _lang_type; }
        }

        /// <summary>
        /// 文档类型
        /// </summary>
        [XmlAttribute(AttributeName = "FILE_TYPE")]
        public string FILE_TYPE
        {
            set { _file_type = value; }
            get { return _file_type; }
        }

        /// <summary>
        /// 存放路径
        /// </summary>
        [XmlAttribute(AttributeName = "SAVE_PATH")]
        public string SAVE_PATH
        {
            set { _save_path = value; }
            get { return _save_path; }
        }

        /// <summary>
        /// 用户编号
        /// </summary>
        [XmlAttribute(AttributeName = "USER_ID")]
        public string USER_ID
        {
            set { _user_id = value; }
            get { return _user_id; }
        }

        /// <summary>
        /// 审核状态
        /// </summary>
        [XmlAttribute(AttributeName = "STATUS")]
        public int STATUS
        {
            set { _status = value; }
            get { return _status; }
        }

        /// <summary>
        /// 注册时间
        /// </summary>
        [XmlAttribute(AttributeName = "CREATE_TIME")]
        public DateTime CREATE_TIME
        {
            set { _create_time = value; }
            get { return _create_time; }
        }

        /// <summary>
        /// 修改时间
        /// </summary>
        [XmlAttribute(AttributeName = "UPD_TIME")]
        public DateTime UPD_TIME
        {
            set { _upd_time = value; }
            get { return _upd_time; }
        }

        /// <summary>
        /// 回执单
        /// </summary>
        [XmlAttribute(AttributeName = "SINGLERECEIPT")]
        public string SINGLERECEIPT
        {
            get { return _singlereceipt; }
            set { _singlereceipt = value; }
        }
        /// <summary>
        /// 使用范围
        /// </summary>
        [XmlAttribute(AttributeName = "SHARED_SCOPE_ID")]
        public string SHARED_SCOPE_ID
        {
            set { _shared_scope_id = value; }
            get { return _shared_scope_id; }
        }

        #endregion 属性


    }
}

